﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Model
{
    /// <summary>
    /// 点餐加料表
    /// </summary>
    public class corecmsfoodorderingfeed
    {
        /// <summary>
        /// 序号
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public Int64 id { get; set; }

        /// <summary>
        /// 订单id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "orderId")]
        public Int64 orderId { get; set; }

        /// <summary>
        /// 购物车id 
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "detailId")]
        public Int64 detailId { get; set; }

        /// <summary>
        /// 门店id 
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "stockId")]
        public Int32 stockId { get; set; }

        /// <summary>
        /// 加料id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "feedId")]
        public Int64 feedId { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "quantity")]
        public Int32 quantity { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "feedPrice")]
        public Decimal feedPrice { get; set; }
    }
}
